﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace BDHomePage.BLL
{
    public class BDHomePageUser : SiteUser
    {
        private string _deliciousUserName;
        public string DeliciousUserName
        {
            get { return this._deliciousUserName; }
            set { this._deliciousUserName = value; }
        }

        public string _deliciousPassword;
        public string DeliciousPassword
        {
            get { return this._deliciousPassword; }
            set { this._deliciousPassword = value; }
        }

        public override bool Login()
        {
            if (Remember)
            {
                // Need to set cookie
                if (HttpContext.Current.Request.Browser.Cookies)
                {
                    // Cookies supported
                }
                else
                {
                    // Web browser not supports cookies
                }
            }
            else
            {
                // No need for cookie
            }
            return false;
        }

        public override void Logout()
        {
            throw new NotImplementedException();
        }
    }
}
